package com.hitrust.gs.bean;

import java.sql.ResultSet;
import java.sql.SQLException;
import com.hitrust.gs.service.GSBaseBean;
/**
 * GSWareHouseProductBean 2009-03-27
 */
public class GSWareHouseProductBean implements GSBaseBean{
    private String id;
    private String warehouse_code;
    private String product_id;
    private String default_location_code;
    private String balance_mode;
    private double min_count;
    private double max_count;
    private double fill_count;
    private String keeper_staff_id;
    private String create_user_id;
    private String create_user;
    private String create_time;
    private String last_update_user_id;
    private String last_update_user;
    private String last_update_time;
    private String is_sync;
    /**
    * @return the min_count
    */
    public double getMin_count(){
        return this.min_count;
    }
    /**
    * @param aMin_count the min_count to set
    */
    public void setMin_count(double aMin_count){
        this.min_count = aMin_count;
    }
    /**
    * @return the create_time
    */
    public String getCreate_time(){
        return this.create_time;
    }
    /**
    * @param aCreate_time the create_time to set
    */
    public void setCreate_time(String aCreate_time){
        this.create_time = aCreate_time;
    }
    /**
    * @return the max_count
    */
    public double getMax_count(){
        return this.max_count;
    }
    /**
    * @param aMax_count the max_count to set
    */
    public void setMax_count(double aMax_count){
        this.max_count = aMax_count;
    }
    /**
    * @return the last_update_user
    */
    public String getLast_update_user(){
        return this.last_update_user;
    }
    /**
    * @param aLast_update_user the last_update_user to set
    */
    public void setLast_update_user(String aLast_update_user){
        this.last_update_user = aLast_update_user;
    }
    /**
    * @return the product_id
    */
    public String getProduct_id(){
        return this.product_id;
    }
    /**
    * @param aProduct_id the product_id to set
    */
    public void setProduct_id(String aProduct_id){
        this.product_id = aProduct_id;
    }
    /**
    * @return the id
    */
    public String getId(){
        return this.id;
    }
    /**
    * @param aId the id to set
    */
    public void setId(String aId){
        this.id = aId;
    }
    /**
    * @return the create_user_id
    */
    public String getCreate_user_id(){
        return this.create_user_id;
    }
    /**
    * @param aCreate_user_id the create_user_id to set
    */
    public void setCreate_user_id(String aCreate_user_id){
        this.create_user_id = aCreate_user_id;
    }
    /**
    * @return the create_user
    */
    public String getCreate_user(){
        return this.create_user;
    }
    /**
    * @param aCreate_user the create_user to set
    */
    public void setCreate_user(String aCreate_user){
        this.create_user = aCreate_user;
    }
    /**
    * @return the balance_mode
    */
    public String getBalance_mode(){
        return this.balance_mode;
    }
    /**
    * @param aBalance_mode the balance_mode to set
    */
    public void setBalance_mode(String aBalance_mode){
        this.balance_mode = aBalance_mode;
    }
    /**
    * @return the last_update_time
    */
    public String getLast_update_time(){
        return this.last_update_time;
    }
    /**
    * @param aLast_update_time the last_update_time to set
    */
    public void setLast_update_time(String aLast_update_time){
        this.last_update_time = aLast_update_time;
    }
    /**
    * @return the warehouse_code
    */
    public String getWarehouse_code(){
        return this.warehouse_code;
    }
    /**
    * @param aWarehouse_code the warehouse_code to set
    */
    public void setWarehouse_code(String aWarehouse_code){
        this.warehouse_code = aWarehouse_code;
    }
    /**
    * @return the is_sync
    */
    public String getIs_sync(){
        return this.is_sync;
    }
    /**
    * @param aIs_sync the is_sync to set
    */
    public void setIs_sync(String aIs_sync){
        this.is_sync = aIs_sync;
    }
    /**
    * @return the fill_count
    */
    public double getFill_count(){
        return this.fill_count;
    }
    /**
    * @param aFill_count the fill_count to set
    */
    public void setFill_count(double aFill_count){
        this.fill_count = aFill_count;
    }
    /**
    * @return the keeper_staff_id
    */
    public String getKeeper_staff_id(){
        return this.keeper_staff_id;
    }
    /**
    * @param aKeeper_staff_id the keeper_staff_id to set
    */
    public void setKeeper_staff_id(String aKeeper_staff_id){
        this.keeper_staff_id = aKeeper_staff_id;
    }
    /**
    * @return the last_update_user_id
    */
    public String getLast_update_user_id(){
        return this.last_update_user_id;
    }
    /**
    * @param aLast_update_user_id the last_update_user_id to set
    */
    public void setLast_update_user_id(String aLast_update_user_id){
        this.last_update_user_id = aLast_update_user_id;
    }
    /**
    * @return the default_location_code
    */
    public String getDefault_location_code(){
        return this.default_location_code;
    }
    /**
    * @param aDefault_location_code the default_location_code to set
    */
    public void setDefault_location_code(String aDefault_location_code){
        this.default_location_code = aDefault_location_code;
    }
    public Object process(ResultSet aResultSet) throws SQLException {
        GSWareHouseProductBean tGSWareHouseProductBean=new GSWareHouseProductBean();
        tGSWareHouseProductBean.min_count = aResultSet.getDouble("min_count");
        tGSWareHouseProductBean.create_time = aResultSet.getString("create_time")==null?"":aResultSet.getString("create_time").trim();
        tGSWareHouseProductBean.max_count = aResultSet.getDouble("max_count");
        tGSWareHouseProductBean.last_update_user = aResultSet.getString("last_update_user")==null?"":aResultSet.getString("last_update_user").trim();
        tGSWareHouseProductBean.product_id = aResultSet.getString("product_id")==null?"":aResultSet.getString("product_id").trim();
        tGSWareHouseProductBean.id = aResultSet.getString("id")==null?"":aResultSet.getString("id").trim();
        tGSWareHouseProductBean.create_user_id = aResultSet.getString("create_user_id")==null?"":aResultSet.getString("create_user_id").trim();
        tGSWareHouseProductBean.create_user = aResultSet.getString("create_user")==null?"":aResultSet.getString("create_user").trim();
        tGSWareHouseProductBean.balance_mode = aResultSet.getString("balance_mode")==null?"":aResultSet.getString("balance_mode").trim();
        tGSWareHouseProductBean.last_update_time = aResultSet.getString("last_update_time")==null?"":aResultSet.getString("last_update_time").trim();
        tGSWareHouseProductBean.warehouse_code = aResultSet.getString("warehouse_code")==null?"":aResultSet.getString("warehouse_code").trim();
        tGSWareHouseProductBean.is_sync = aResultSet.getString("is_sync")==null?"":aResultSet.getString("is_sync").trim();
        tGSWareHouseProductBean.fill_count = aResultSet.getDouble("fill_count");
        tGSWareHouseProductBean.keeper_staff_id = aResultSet.getString("keeper_staff_id")==null?"":aResultSet.getString("keeper_staff_id").trim();
        tGSWareHouseProductBean.last_update_user_id = aResultSet.getString("last_update_user_id")==null?"":aResultSet.getString("last_update_user_id").trim();
        tGSWareHouseProductBean.default_location_code = aResultSet.getString("default_location_code")==null?"":aResultSet.getString("default_location_code").trim();
        return tGSWareHouseProductBean;
    }
}